package com.retirement.staff.service;

import com.retirement.staff.domain.OldStaff;
import com.retirement.staff.dto.OldStaffDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lijy
 * @since 2023-12-28
 */
public interface IOldStaffService extends IService<OldStaff> {

    List<OldStaff> listOldStaff(OldStaffDto dto);

    int addOldStaff(OldStaff oldStaff);

    OldStaff getDetail(String id);

    int deleteStaff(String id);

    int  deleteUserByIds(String[] ids);

    int updateStaff(OldStaff dto);

}
